package ccapp;


import ccapp.util.CreditCardSystemConstants;
import frmsystem.IAccount;
import frmsystem.ITransactionEvent;

public class PersonCharge implements ITransactionEvent{

	@Override
	public boolean toNotify(IAccount account) {
		
		double trans_amount = account.getLastTransactionAmount();
		if (trans_amount > CreditCardSystemConstants.MAXIMUM_CHARGE_AMOUNT_FOR_EMAIL)
			return true;
		else
			return false;
	}
}
